package com.fjh.springboot_01.pojo.tutor;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class TutoringSchedule {
    private Integer id;
    private Integer tutoringId;
    private Integer bookingId;  // 关联的预约ID
    private Integer teacherId;
    private Integer studentId;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private String location;
    private String requirements;
    private Integer status;  // 0: 待确认, 1: 已确认, 2: 已完成, 3: 已取消
    private String feedback;  // 课程反馈
    private Integer rating;   // 评分(1-5)
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String createdBy;  // 创建者类型：TEACHER-教师创建，STUDENT-学生创建
    private Boolean teacherDeleted; // 教师是否删除
    private Boolean studentDeleted; // 学生是否删除
    
    // 额外的非数据库字段
    private String teacherName;
    private String studentName;
    private String tutoringTitle;
} 